body {
    background: #f8f8f8;
    color: #222;
}

body,
button,
input,
select,
textarea {
    font: 12px/1.5 "Microsoft Yahei", tahoma, arial, "Hiragino Sans GB";
    -webkit-font-smoothing: antialiased;
}

a {
    color: #333;
    text-decoration: none;
    outline: 0;
}

em,
i {
    font-style: normal;
}

body,
button,
input,
select,
textarea {
    font: 12px/1.5 "Microsoft Yahei", tahoma, arial, "Hiragino Sans GB";
    -webkit-font-smoothing: antialiased;
}

input {
    outline: 0;
}

.alert {
    width: 30%;
    position: absolute;
    z-index: 999;
    left: 50%;
    margin-left: -15%;
    text-align: center;
    display: none;
}

.alert-success,
.alert-danger {
    display: block;
}

.header,
.main {
    font-family: "Microsoft Yahei";
}

.header {
    width: 990px;
    height: 88px;
    margin: 0 auto;

    .login {
        float: right;
        margin-top: 63px;
    }

    .logo {
        float: left;
        width: 190px;
        height: 100%;
        margin-right: 24px;
        background: url(https://res.suning.cn/project/srsregister/css/image/sprite.png?v=1541754766549) no-repeat;
    }

    a {
        color: #333;
        text-decoration: none;
        outline: 0;
    }

    .logo-txt {
        float: left;
        font-size: 18px;
        color: #666;
        line-height: 88px;
    }
}

.main {
    width: 990px;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-top: 3px solid #f90;
    background: #fff;
    padding: 55px 0;
    line-height: 1.5;

    .reg-form {
        width: 380px;
        margin: 0 auto;

        .gift-pkg {
            font-size: 14px;
            line-height: 17px;
            padding-left: 2px;
            margin-bottom: 17px;

            i {
                float: left;
                width: 19px;
                height: 17px;
                margin-right: 6px;
                background: url(https://res.suning.cn/project/srsregister/css/image/sprite.png?v=1541754766549) -75px -93px no-repeat;
            }

            em {
                color: #f40;
            }
        }

        .password-field {
            margin-bottom: 20px;
        }

        .input-box {
            width: 378px;
            height: 38px;
            border: 1px solid #ccc;
            line-height: 38px;
            margin-bottom: 25px;

            .title {
                float: left;
                width: 76px;
                padding-left: 11px;
            }

            .input-wrapper {
                position: relative;
                float: left;
                height: 100%;
                width: 291px;

                label {
                    width: 100%;
                    position: absolute;
                    top: 40px;
                    left: -85px;
                    font-size: 12px;
                    color: #b6b6bb;
                    // display: none;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    height: 16px;
                    line-height: 16px;
                }

                label.error {
                    font-weight: bold;
                    color: crimson;
                }

                label.warning {
                    font-weight: bold;
                    color: orange;
                }

                input {
                    display: inline-block;
                    width: 100%;
                    height: 100%;
                    font-size: 14px;
                    color: #333;
                    border: 0;
                    background: 0;
                }


                .placeholder {
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    top: 0;
                    left: 0;
                    color: #cacaca;
                    cursor: text;
                }

            }

        }

        .msg-field {
            .input-wrapper {
                width: 142px;
            }

            .send-success {
                height: 34px;
                line-height: 34px;
                margin-top: -25px;
                color: #999;
            }

            .send-msg {
                float: left;
                width: 148px;
                height: 100%;
                line-height: 38px;
                text-align: center;
                background: #f5f5f5;
                border: 1px solid #bbb;
                font-size: 14px;
                margin: -1px -1px 0 0;
                text-decoration: none;
            }
        }

        .submit-btn {
            // width: 100%;
            line-height: 40px;
            background: #f60;
            font-size: 20px;
            color: #fff;
            margin: 24px 0 5px;
            width: 380px;
            display: block;
            border-radius: 2px;
            text-align: center;
            text-decoration: none;
        }
    }
}